package ywpt.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


public class DepartPlan implements java.io.Serializable{

	/**
	 * 部门计划主表
	 */
	private static final long serialVersionUID = -5811375238380114453L;
	private Long id;
	private String title;
	private CommonTable planType;
	private Date startDate;
	private Date endDate;
	private String receiveOrg;//会议参加组织
	private String participateUsers;// 参与会议人
	private Department depart;
	private Boolean deleteFlag;
	private Boolean checkFlag;
	private Date   createDate;
	private PeopleInfo createPeople;
	private Date modifyDate;
	private PeopleInfo modifyPeople;
	private int version;
	
	private Set<DepartPlanDtl> planDtlSet = new HashSet<DepartPlanDtl>();
	private Set<DeptplanScan> scanSet = new HashSet<DeptplanScan>();
	
	public Set<DeptplanScan> getScanSet() {
		return scanSet;
	}

	public void setScanSet(Set<DeptplanScan> scanSet) {
		this.scanSet = scanSet;
	}

	public DepartPlan() {
		
		this.deleteFlag = false;
		this.checkFlag= false;
	}
	
	public Set<DepartPlanDtl> getPlanDtlSet() {
		return planDtlSet;
	}

	public void setPlanDtlSet(Set<DepartPlanDtl> planDtlSet) {
		this.planDtlSet = planDtlSet;
	}

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public CommonTable getPlanType() {
		return planType;
	}
	public void setPlanType(CommonTable planType) {
		this.planType = planType;
	}
 
	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getReceiveOrg() {
		return receiveOrg;
	}
	public void setReceiveOrg(String receiveOrg) {
		this.receiveOrg = receiveOrg;
	}
	public String getParticipateUsers() {
		return participateUsers;
	}
	public void setParticipateUsers(String participateUsers) {
		this.participateUsers = participateUsers;
	}
	public Department getDepart() {
		return depart;
	}
	public void setDepart(Department depart) {
		this.depart = depart;
	}
	public Boolean getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public PeopleInfo getCreatePeople() {
		return createPeople;
	}
	public void setCreatePeople(PeopleInfo createPeople) {
		this.createPeople = createPeople;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public PeopleInfo getModifyPeople() {
		return modifyPeople;
	}
	public void setModifyPeople(PeopleInfo modifyPeople) {
		this.modifyPeople = modifyPeople;
	}
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}

	public Boolean getCheckFlag() {
		return checkFlag;
	}

	public void setCheckFlag(Boolean checkFlag) {
		this.checkFlag = checkFlag;
	} 
}
